//
//  DataManager.m
//  rxtd_xfd
//
//  Created by clq on 15/4/13.
//  Copyright (c) 2015年 clq. All rights reserved.
//

#import "DataManager.h"

@implementation DataManager

#pragma mark - 单一实例
static DataManager *sharedDataManager = nil;

+ (DataManager *)sharedDataManager {
    @synchronized(self){  // 防止多线程同事访问
        if (sharedDataManager == nil) {
            sharedDataManager = [[DataManager alloc] init];

        }
        return sharedDataManager;
    }
}

-(void) clearLoginData
{
    self.sessionId = nil;
    self.isLogin = NO;
    self.dicLoginInfo = nil;
    [self.muArrayCity removeAllObjects];
    [self.muArrayProvince removeAllObjects];
    
}

@end
